{include file="header.html"}
<div id="rightTop">
    <p>{$lang.integral_goods}</p>
    <ul class="subnav">
        <li><!--{if $wait_verify}--><a class="btn1" href="index.php?app=integral_goods">{$lang.manage}</a><!--{else}--><span>{$lang.manage}</span><!--{/if}--></li>
        <li><a class="btn1" href="index.php?app=integral_goods&amp;act=add">{$lang.add}</a></li>
        <li><a class="btn1" href="index.php?app=integral_goods&amp;act=log">{$lang.integral_goods_log}</a></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="integral_goods" />
                <input type="hidden" name="act" value="index" />
                {$lang.goods_name}:
                <input class="queryInput" type="text" name="goods_name" value="{$query.goods_name|escape}" />
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=integral_goods">{$lang.cancel_query}</a>
            <!--{/if}-->
            <span>
            </span></form>
    </div>
    <div class="fontr">
        {if $integral_goods_list}{include file=page.top.html}{/if}
    </div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $integral_goods_list}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td align="left">{$lang.goods_name}</td>
            <td align="left" class="table-center">{$lang.goods_logo}</td>
            <td align="left">{$lang.goods_stock}</td>
            <td align="left">{$lang.goods_stock_exchange}</td>
            <td align="left">{$lang.goods_price}</td>
            <td align="left">{$lang.goods_point}</td>
            <td align="left">{$lang.add_time}</td>
            <td class="table-center">{$lang.sort_order}</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$integral_goods_list item=integral_goods}-->
        <tr class="tatr2">
            <td class="firstCell">
                <input value="{$integral_goods.goods_id}" class='checkitem' type="checkbox" />
            </td>
            <td align="left">{$integral_goods.goods_name|escape}</td>
            <td align="left" class="table-center">{if $integral_goods.goods_logo}<img src="{$integral_goods.goods_logo}" height="30"/>{/if}</td>
            <td align="left">{$integral_goods.goods_stock|escape}</td>
            <td align="left">{$integral_goods.goods_stock_exchange|escape}</td>
            <td align="left">{$integral_goods.goods_price|price}</td>
            <td align="left">{$integral_goods.goods_point|escape}</td>
            <td align="left">{$integral_goods.add_time|date}</td>

            <td class="table-center">{$integral_goods.sort_order}</td>  
            <td class="handler">
                <a href="index.php?app=integral_goods&amp;act=edit&amp;id={$integral_goods.goods_id}">{$lang.edit}</a>  |  <a name="drop" href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=integral_goods&amp;act=drop&amp;id={$integral_goods.goods_id}');">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="7">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $integral_goods_list}-->
    <div id="dataFuncs">
        <div id="batchAction" class="left paddingT15">
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=integral_goods&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
        </div>
        <div class="pageLinks">
            {if $integral_goods_list}{include file=page.bottom.html}{/if}
        </div>
    </div>
    <!--{/if}-->
    <div class="clear"></div>
</div>
{include file="footer.html"}
